import Http from '@/common/http'

export default {

  create: params => Http.post('/consult/create', params),

  getInfo: id => Http.get(`/consult/${id}/info`),

  update: (id, params) => Http.post(`/consult/${id}/update`, params),

  delete: id => Http.post(`/consult/${id}/delete`),

  like: id => Http.post(`/consult/${id}/like`)

}
